package design.pattern.prototype.deep;

import java.io.Serializable;

/**
 * @description: 金箍棒
 * @author: liuzhangcheng
 **/
public class JinGuBang implements Serializable {
    // 长度
    private int length;

    // 重量
    private int weight;

    public JinGuBang(int length, int weight) {
        this.length = length;
        this.weight = weight;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
